#ifndef SIMPLYSUPPORTED_H
#define SIMPLYSUPPORTED_H

#include <Beam.h>

class SimplySupported : public Beam
{
    public:
        /** Default constructor */
        SimplySupported(int, int, int);

        /** Default destructor */
        virtual ~SimplySupported();

        /** Access m_LeftSupportLocation
         * \return The current value of m_LeftSupportLocation
         */
        int GetLeftSupportLocation() { return m_LeftSupportLocation; }

        /** Set m_LeftSupportLocation
         * \param val New value to set
         */
        void SetLeftSupportLocation(int val) { m_LeftSupportLocation = val; }

        /** Access m_RightSupportLocation
         * \return The current value of m_RightSupportLocation
         */
        int GetRightSupportLocation() { return m_RightSupportLocation; }

        /** Set m_RightSupportLocation
         * \param val New value to set
         */
        void SetRightSupportLocation(int val) { m_RightSupportLocation = val; }

        int GetLeftSupportReaction();

        int GetRightSupportReaction();

        void AddLoads(int, int);

    protected:


    private:
        SimplySupported() {}

        int m_LeftSupportLocation; //!< Member variable "m_LeftSupportLocation"
        int m_RightSupportLocation; //!< Member variable "m_RightSupportLocation"
};

#endif // SIMPLYSUPPORTED_H
